public class Dog extends Animal implements Afraid {
    @Override
    public void eat() {
        System.out.println("狗在吃骨头");
    }
    @Override
    public void escape() {
        System.out.println("狗跑开了");
    }
    @Override
    public  void makeSounds() {
        System.out.println("汪汪汪");
    }
}